540 SPEED= 175: HTAB (N6 - LEN(HD$))/D: FOR G = C TO LEN(HD$): PRINT MID$ (HD$,G,C);:Z = PEEK( -16336) + PEEK( -16336): FOR H = C TO 20: NEXT : NEXT : SPEED= 255: FOR H = C TO 1000: NEXT : RETURN
550 REM
560 REM CURSOR ROUTINES
570 REM
580 REM UP
590 REM
600 CY = CY -N0
610 IF CY <TC THEN CY = BC
620 RETURN
630 REM
640 REM LEFT
650 REM
660 GOSUB 710: IF CX < >EC THEN GOSUB 710
670 RETURN
680 REM
690 REM LEFT HALF STEP
700 REM
710 CX = CX -K: IF CX <SC THEN CX = EC
720 RETURN
730 REM
740 REM RIGHT
750 REM
760 GOSUB 810: IF CX < >SC THEN GOSUB 810
770 RETURN
780 REM
790 REM RIGHT HALF STEP
800 REM
810 CX = CX +K: IF CX >EC THEN CX = SC
820 RETURN
830 REM
840 REM DOWN
850 REM
860 CY = CY +N0
870 IF CY >BC THEN CY = TC
880 RETURN
890 REM
900 REM PLOT
910 REM
920 DT$ = "1":HC = E: GOSUB 250: RETURN
930 REM
940 REM UNPLOT
950 REM
960 DT$ = "0":HC = B: GOSUB 250: RETURN
970 REM
980 REM CLEAR CHARACTER
990 REM
1000 GOSUB 370
1010 HCOLOR= B: CALL HK
1020 RETURN
1030 REM
1040 REM FILL CHARACTER
1050 REM
1060 HCOLOR= B: CALL HK: GOSUB 370: HCOLOR= E
1070 FOR H = SC TO EC STEP N0
1080 FOR G = TC TO BC STEP N0
1090 DRAW DOT AT H,G
1100 DRAW SMDOT AT ((H/K) -N3) +OF,(((G/N0) -K) *D) +OF